@import url('/fonts/iconfont.css');
// 颜色
$colors: (
  "primary": #db9e3f,
  "yellow":#ffde00,
  "info-1": #4394e4,
  "info": #4b67af,
  "white": #ffffff,
  "light": #f9f9f9,
  "grey-1": #999999,
  "grey": #666666,
  "dark-1": #5f5f5f,
  "dark": #222222,
  "black-1": #171823,
  "black": #000000,
  "green": rgb(92, 217, 232),
  "red": rgb(207, 92, 84),
);

// 字体大小

$base-font-size:12px;


$font-sizes: (
  xxs: 1,
  //8px
    xs: 1.25,
  //10px
    sm: 1.2875,
  //12px
    md:1.625,
  //13px
    lg: 1.75,
  //14px
    xl: 2,
  //16px
    xxl: 2.25,
  //18px
    xxxl: 2.5 //20px,,,,
);
@each $key, $fs in $font-sizes {
  .fs-#{$key} {
    font-size: $fs;
  }
}

// 宽高
.w-100 {
  width: 100%;
}
.w-10{
  width: 10px;
}
.w-50{
  width: 50%;
}
.h-100 {
  height: 100%;
}

$height: (
    8:8%,
    10:10%,
    15:15%,
    20:20%,
    30:30%,
    40:40%,
    50:50%,
    60:60%,
    70:70%,
    80:80%,
    90:90%,
    92:92%,
);
@each $key, $heightv in $height {
  .height-#{$key} {
    height: $heightv;
  }
}

$width: (
    5:5%,
    10:10%,
    20:20%,
    30:30%,
    35:35%,
    40:40%,
    50:50%,
    60:60%,
    70:70%,
    80:80%,
    90:90%,

);
@each $key, $widthv in $width {
  .width-#{$key} {
    width: $widthv;
  }
}


.padding-10{
  padding:10px;
  box-sizing: border-box;
}

//flex
.flex {
  display: flex;
}
.flex-column {
  flex-direction: column;
}
.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}
.flex-align-center {

  align-items: center;
}
.flex-space-between {
  justify-content: space-between;
}
.flex-wrap {
  flex-wrap: wrap;
}
.flex-nowrap {
  flex-wrap: nowrap;
}
$flex-jc: (
  start: flex-start,
  end: flex-end,
  center: center,
  between: space-between,
  around: space-around,
  evenly: space-evenly,
);

$flex-ai: (
  start: flex-start,
  end: flex-end,
  center: center,
  stretch: stretch,
 
);

.flex-1 {
  flex: 1;
}

//.mt-1 => margin top
//spacing
$spacing-types: (
  m: margin,
  p: padding,
);
$spacing-directions: (
  t: top,
  r: right,
  b: bottom,
  l: left,
);
$spacing-base-size: 0.2rem;
$spacing-sizes: (
  0: 0,
  1: 0.25,
  2: 0.5,
  3: 1,
  4: 1.5,
  5: 3,
);
